/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package beans;

/**
 *
 * @author Dhruv
 */

//this javabeans class represents a customer's tag object
public class SeekerImgTag {

    //who tagged the image, what was the tag name and when was it tagged
    private String tagger, tag, tagdatetime;
    //the image object which was tagged
    private SeekerUploadImg upload;

    //constructor
    public SeekerImgTag(SeekerUploadImg upload, String tagger, String tag, String tagdatetime) {
        //no setter methods, the only way to set variables below
        //is by creating a new object
        this.upload = upload;
        this.tagger = tagger;
        this.tag = tag;
        this.tagdatetime = tagdatetime;
    }

    //return the image which was tagged
    public SeekerUploadImg getUpload() {
        return this.upload;
    }

    //return the person's name who tagged this image
    public String getTagger() {
        return this.tagger;
    }

    //return the tag name this image was tagged
    public String getTag() {
        return this.tag;
    }

    //return the time this image was tagged
    public String getTagdatetime() {
        return this.tagdatetime;
    }
}